package com.chookss.tools.old;

public class PassWordUtils {
    public static boolean checkPass(String pass) {
        if (pass.matches(".*[a-z]{1,}.*")
                && pass.matches(".*[A-Z]{1,}.*")
                && pass.matches(".*\\d{1,}.*")
                && pass.matches(".*[~!@#$%^&*\\.?]{1,}.*")) {
            return true;
        }
        return false;
    }
}
